package util;

/**
 * Created by pc on 2015/1/18.
 */
public class RandomArray {
    public static int [] getRandomIntArray(int length){
        int [] arr = new int[length];
        Double temp;
        for (int i=0; i<arr.length; i++){
            temp =  Math.random() * 100;
            arr[i] = temp.intValue();
        }
//        System.out.println("get: " + Arrays.toString(arr));
        return  arr;
        
    }
}
